package cn.yunhe.bean;

public class HotelPrice {
    private int id;
    private int roomid;
    private int userid;
    private int roomcount;
    private int sum;
    private RoomType roomtype = new RoomType();
    private User user = new User();

    public HotelPrice() {
    }

    public HotelPrice(int id, int roomid, int userid, int roomcount, int sum, RoomType roomtype, User user) {
        this.id = id;
        this.roomid = roomid;
        this.userid = userid;
        this.roomcount = roomcount;
        this.sum = sum;
        this.roomtype = roomtype;
        this.user = user;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getRoomid() {
        return roomid;
    }

    public void setRoomid(int roomid) {
        this.roomid = roomid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getRoomcount() {
        return roomcount;
    }

    public void setRoomcount(int roomcount) {
        this.roomcount = roomcount;
    }

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }

    public RoomType getRoomtype() {
        return roomtype;
    }

    public void setRoomtype(RoomType roomtype) {
        this.roomtype = roomtype;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
